import request from '@/utils/request'

export function getList(data: any) {
  return request({
    url: '/Wms_Sup_Item/GetList',
    method: 'post',
    data,
  })
}
export function getPageData(data: any) {
  return request({
    url: '/Wms_Sup_Item/GetPageData',
    method: 'post',
    data,
  })
}

export function getItemList(data: any) {
  return request({
    url: '/Wms_Item/GetPageData',
    method: 'post',
    data,
  })
}
export function getSupplierList(data: any) {
  return request({
    url: '/Wms_Supplier/GetList',
    method: 'post',
    data,
  })
}
export function doEdit(data: any) {
  return request({
    url: '/Wms_Sup_Item/save',
    method: 'post',
    data,
  })
}
export function gets(data: any) {
  return request({
    url: '/Wms_Sup_Item/GetSi',
    method: 'post',
    data,
  })
}
export function doDelete(data: any) {
  return request({
    url: '/Wms_Sup_Item/DelSip',
    method: 'post',
    data,
  })
}
